#pragma once

#include <map>

class Node
{
public:
	enum Direction
	{
		NONE,
		UP,
		DOWN,
		LEFT,
		RIGHT
	};

public:
	Node(float x, float y);
	~Node();

	void SetID(int ID);
	int GetID();

	float GetY();
	float GetX();

	int GetConnection(Direction dir);
	bool AddConnection(int nodeID, Direction dir);

private:
	std::map<Direction, int> m_connectedNodes;

	int m_ID;

	float m_x;
	float m_y;
};